<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib tagdir="/WEB-INF/tags/common" prefix="common"%>
<html>
<head>
<jsp:include page="/common/meta.jsp"></jsp:include>
<title></title>
   <script type="text/javascript">
   function checkField(){
	   if($('#newPass').val()!=$('#newPass2').val()){
		   $('#errormsg').html('两次密码输入不一致');
		   return false;
		}else  if($('#newPass').val().length<6){
		   $('#errormsg').html('密码少于6位');
		   return false;
		}
		return true;
   }
        </script>
</head>
<body>
<fieldset class="mainbody" >
<form id="reset" name="reset" action="${ctx }/app/userLogin" method="post" onsubmit="return checkField();" >
<table width="100%">
<tr>
<td colspan="2">
<h3>修改密码</h3>
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2"><common:noteNeedSign msg="两次密码必须输入一致，且密码不能少于6位"/></td>
</tr>
<tr>
<td width="20%">请输入新密码：</td>
<td width="80%">
<input name="newPass" id="newPass" type="password"/>
</td>
</tr>
<tr>
<td >请重复输入密码：</td>
<td width="80%">
<input name="newPass2" id="newPass2" type="password"/>&nbsp;&nbsp;<span id="errormsg"></span>
<input type="hidden" name="resetPass" value="true"/>
</td>
</tr>
<tr height="10" >
	<td></td>
</tr>
<tr>
<td colspan="2" >

<input type="submit" value="确定" />&nbsp;&nbsp;
</td>
</tr>
</table>
</form>
</fieldset>
</body>
</html>